﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.ComponentModel.DataAnnotations;

namespace SimpleTaskManager.WebUI.Models
{
    public class SkillsModel
    {
        /// <summary>
        /// ID field
        /// </summary>
        public int User_SkillID { get; set; }

        /// <summary>
        /// UserID of a user for which we want to add/modify the entry
        /// </summary>
        public int UserID { get; set; }

        /// <summary>
        /// List of available skill ratings (0-5)
        /// </summary>
        public SelectList RatingList { get; set; }

        /// <summary>
        /// The name of the skill
        /// </summary>
        [Display(Name = "Skill")]
        [Required(ErrorMessage = "Please enter the name of the skill")]
        public string SkillName { get; set; }
    }
}